FROM nginx:1.23.0-alpine

RUN mkdir -p /etc/nginx/conf/ssl

ADD class_course_backend/nginx.conf /etc/nginx/nginx.conf

ADD backend/backend-course.xiaoping.fun.key /etc/nginx/conf/ssl/backend-course.xiaoping.fun.key
ADD backend/backend-course.xiaoping.fun.pem /etc/nginx/conf/ssl/backend-course.xiaoping.fun.pem

EXPOSE 80
